package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户列表对象 customer
 * 
 * @author wolfcode
 * @date 2021-07-14
 */
public class Customer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 来源渠道 */
    @Excel(name = "来源渠道")
    private Long sourceValue;

    /** 意向校区 */
    @Excel(name = "意向校区")
    private Long schoolValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSourceValue(Long sourceValue) 
    {
        this.sourceValue = sourceValue;
    }

    public Long getSourceValue() 
    {
        return sourceValue;
    }
    public void setSchoolValue(Long schoolValue) 
    {
        this.schoolValue = schoolValue;
    }

    public Long getSchoolValue() 
    {
        return schoolValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("sourceValue", getSourceValue())
            .append("schoolValue", getSchoolValue())
            .toString();
    }
}
